<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libslic3r: Slic3r::Extruder Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="Slic3r_192px_transparent.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">libslic3r
   </div>
   <div id="projectbrief">Library for generating gcode from 3d models</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_slic3r.html">Slic3r</a></li><li class="navelem"><a class="el" href="class_slic3r_1_1_extruder.html">Extruder</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="class_slic3r_1_1_extruder-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Slic3r::Extruder Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_extruder_8hpp_source.html">Extruder.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a86c2b2be930dbf20adb9a95102a1503a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_extruder.html#a86c2b2be930dbf20adb9a95102a1503a">Extruder</a> (unsigned int <a class="el" href="class_slic3r_1_1_extruder.html#a3341e1a9d3d30505af68586d25e8b034">id</a>, <a class="el" href="class_slic3r_1_1_g_code_config.html">GCodeConfig</a> *config)</td></tr>
<tr class="separator:a86c2b2be930dbf20adb9a95102a1503a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7174cf28e8568a819445c18f65e2825a"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_extruder.html#a7174cf28e8568a819445c18f65e2825a">~Extruder</a> ()</td></tr>
<tr class="separator:a7174cf28e8568a819445c18f65e2825a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04ae8c433341107e9fec537912a95ee8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_extruder.html#a04ae8c433341107e9fec537912a95ee8">reset</a> ()</td></tr>
<tr class="separator:a04ae8c433341107e9fec537912a95ee8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a542fc7938e5b9a1ab5d5c43a9f7b9b9e"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_extruder.html#a542fc7938e5b9a1ab5d5c43a9f7b9b9e">extrude</a> (double dE)</td></tr>
<tr class="memdesc:a542fc7938e5b9a1ab5d5c43a9f7b9b9e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate the amount extruded for relative or absolute moves.  <a href="#a542fc7938e5b9a1ab5d5c43a9f7b9b9e">More...</a><br /></td></tr>
<tr class="separator:a542fc7938e5b9a1ab5d5c43a9f7b9b9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acdf410a6fa1663ca04f050201fde8428"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_extruder.html#acdf410a6fa1663ca04f050201fde8428">retract</a> (double length, double <a class="el" href="class_slic3r_1_1_extruder.html#a9eb7665ead75965bf6f4d8bbec964568">restart_extra</a>)</td></tr>
<tr class="separator:acdf410a6fa1663ca04f050201fde8428"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c7f07b9b06dc2c327d4e30d810dee66"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_extruder.html#a8c7f07b9b06dc2c327d4e30d810dee66">unretract</a> ()</td></tr>
<tr class="separator:a8c7f07b9b06dc2c327d4e30d810dee66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0df52233e89df9ea94e7a4ddad550eeb"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_extruder.html#a0df52233e89df9ea94e7a4ddad550eeb">e_per_mm</a> (double mm3_per_mm) const</td></tr>
<tr class="separator:a0df52233e89df9ea94e7a4ddad550eeb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5365340eac7ec5bab691cd422418c8b"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_extruder.html#ac5365340eac7ec5bab691cd422418c8b">extruded_volume</a> () const</td></tr>
<tr class="separator:ac5365340eac7ec5bab691cd422418c8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a6931ae6964f15b3847c046e416a2ed"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_extruder.html#a0a6931ae6964f15b3847c046e416a2ed">used_filament</a> () const</td></tr>
<tr class="memdesc:a0a6931ae6964f15b3847c046e416a2ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate amount of filament used for current <a class="el" href="class_slic3r_1_1_extruder.html">Extruder</a> object.  <a href="#a0a6931ae6964f15b3847c046e416a2ed">More...</a><br /></td></tr>
<tr class="separator:a0a6931ae6964f15b3847c046e416a2ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7a3779e5c127d500249ca6421fbf30f"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_extruder.html#af7a3779e5c127d500249ca6421fbf30f">filament_diameter</a> () const</td></tr>
<tr class="memdesc:af7a3779e5c127d500249ca6421fbf30f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the filament diameter for this <a class="el" href="class_slic3r_1_1_extruder.html">Extruder</a> from config.  <a href="#af7a3779e5c127d500249ca6421fbf30f">More...</a><br /></td></tr>
<tr class="separator:af7a3779e5c127d500249ca6421fbf30f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26a7f25ed15e2d89320a8ee471beaa48"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_extruder.html#a26a7f25ed15e2d89320a8ee471beaa48">filament_density</a> () const</td></tr>
<tr class="memdesc:a26a7f25ed15e2d89320a8ee471beaa48"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the filament density for this <a class="el" href="class_slic3r_1_1_extruder.html">Extruder</a> from config.  <a href="#a26a7f25ed15e2d89320a8ee471beaa48">More...</a><br /></td></tr>
<tr class="separator:a26a7f25ed15e2d89320a8ee471beaa48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee98f0f00c0d39581b5990dd21363f83"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_extruder.html#aee98f0f00c0d39581b5990dd21363f83">filament_cost</a> () const</td></tr>
<tr class="memdesc:aee98f0f00c0d39581b5990dd21363f83"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the filament cost for this <a class="el" href="class_slic3r_1_1_extruder.html">Extruder</a> from config.  <a href="#aee98f0f00c0d39581b5990dd21363f83">More...</a><br /></td></tr>
<tr class="separator:aee98f0f00c0d39581b5990dd21363f83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad04de504eca8b0314e874d8d03ab2082"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_extruder.html#ad04de504eca8b0314e874d8d03ab2082">extrusion_multiplier</a> () const</td></tr>
<tr class="memdesc:ad04de504eca8b0314e874d8d03ab2082"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the extrustion multiplier for this <a class="el" href="class_slic3r_1_1_extruder.html">Extruder</a> from config.  <a href="#ad04de504eca8b0314e874d8d03ab2082">More...</a><br /></td></tr>
<tr class="separator:ad04de504eca8b0314e874d8d03ab2082"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae4f81bb3b58a544ac21f66234924eb3f"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_extruder.html#ae4f81bb3b58a544ac21f66234924eb3f">retract_length</a> () const</td></tr>
<tr class="separator:ae4f81bb3b58a544ac21f66234924eb3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add89fcede9b6093c69772a8a1c155340"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_extruder.html#add89fcede9b6093c69772a8a1c155340">retract_lift</a> () const</td></tr>
<tr class="separator:add89fcede9b6093c69772a8a1c155340"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abdc4a697823522eb05116d89b87051a6"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_extruder.html#abdc4a697823522eb05116d89b87051a6">retract_speed</a> () const</td></tr>
<tr class="separator:abdc4a697823522eb05116d89b87051a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f3faf59a1601f9e90230255a50cf972"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_extruder.html#a4f3faf59a1601f9e90230255a50cf972">retract_restart_extra</a> () const</td></tr>
<tr class="separator:a4f3faf59a1601f9e90230255a50cf972"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91b713dc70507f5504cce4c030fe7db8"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_extruder.html#a91b713dc70507f5504cce4c030fe7db8">retract_length_toolchange</a> () const</td></tr>
<tr class="separator:a91b713dc70507f5504cce4c030fe7db8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0eb92082dd5da366e361fc00fea5ace5"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_extruder.html#a0eb92082dd5da366e361fc00fea5ace5">retract_restart_extra_toolchange</a> () const</td></tr>
<tr class="separator:a0eb92082dd5da366e361fc00fea5ace5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a3341e1a9d3d30505af68586d25e8b034"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_extruder.html#a3341e1a9d3d30505af68586d25e8b034">id</a></td></tr>
<tr class="memdesc:a3341e1a9d3d30505af68586d25e8b034"><td class="mdescLeft">&#160;</td><td class="mdescRight">ID of current object.  <a href="#a3341e1a9d3d30505af68586d25e8b034">More...</a><br /></td></tr>
<tr class="separator:a3341e1a9d3d30505af68586d25e8b034"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f302f418f5ad59867744baf9495d77f"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_extruder.html#a0f302f418f5ad59867744baf9495d77f">E</a></td></tr>
<tr class="separator:a0f302f418f5ad59867744baf9495d77f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a25a00a190060e03a43c18204d78087eb"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_extruder.html#a25a00a190060e03a43c18204d78087eb">absolute_E</a></td></tr>
<tr class="separator:a25a00a190060e03a43c18204d78087eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2c6267ba6aac367d7c1919c87b6fd4b"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_extruder.html#aa2c6267ba6aac367d7c1919c87b6fd4b">retracted</a></td></tr>
<tr class="separator:aa2c6267ba6aac367d7c1919c87b6fd4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9eb7665ead75965bf6f4d8bbec964568"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_extruder.html#a9eb7665ead75965bf6f4d8bbec964568">restart_extra</a></td></tr>
<tr class="separator:a9eb7665ead75965bf6f4d8bbec964568"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a892c85d234a71899cf67a05631127ca0"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_extruder.html#a892c85d234a71899cf67a05631127ca0">e_per_mm3</a></td></tr>
<tr class="separator:a892c85d234a71899cf67a05631127ca0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69e80f14f8fd6ffe69e29361ad5cab08"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_extruder.html#a69e80f14f8fd6ffe69e29361ad5cab08">retract_speed_mm_min</a></td></tr>
<tr class="separator:a69e80f14f8fd6ffe69e29361ad5cab08"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a86c2b2be930dbf20adb9a95102a1503a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a86c2b2be930dbf20adb9a95102a1503a">&#9670;&nbsp;</a></span>Extruder()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Slic3r::Extruder::Extruder </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_slic3r_1_1_g_code_config.html">GCodeConfig</a> *&#160;</td>
          <td class="paramname"><em>config</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a7174cf28e8568a819445c18f65e2825a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7174cf28e8568a819445c18f65e2825a">&#9670;&nbsp;</a></span>~Extruder()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual Slic3r::Extruder::~Extruder </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a0df52233e89df9ea94e7a4ddad550eeb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0df52233e89df9ea94e7a4ddad550eeb">&#9670;&nbsp;</a></span>e_per_mm()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Slic3r::Extruder::e_per_mm </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>mm3_per_mm</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a542fc7938e5b9a1ab5d5c43a9f7b9b9e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a542fc7938e5b9a1ab5d5c43a9f7b9b9e">&#9670;&nbsp;</a></span>extrude()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Slic3r::Extruder::extrude </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>dE</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Calculate the amount extruded for relative or absolute moves. </p>

</div>
</div>
<a id="ac5365340eac7ec5bab691cd422418c8b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac5365340eac7ec5bab691cd422418c8b">&#9670;&nbsp;</a></span>extruded_volume()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Slic3r::Extruder::extruded_volume </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ad04de504eca8b0314e874d8d03ab2082"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad04de504eca8b0314e874d8d03ab2082">&#9670;&nbsp;</a></span>extrusion_multiplier()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Slic3r::Extruder::extrusion_multiplier </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Retrieve the extrustion multiplier for this <a class="el" href="class_slic3r_1_1_extruder.html">Extruder</a> from config. </p>

</div>
</div>
<a id="aee98f0f00c0d39581b5990dd21363f83"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aee98f0f00c0d39581b5990dd21363f83">&#9670;&nbsp;</a></span>filament_cost()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Slic3r::Extruder::filament_cost </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Retrieve the filament cost for this <a class="el" href="class_slic3r_1_1_extruder.html">Extruder</a> from config. </p>

</div>
</div>
<a id="a26a7f25ed15e2d89320a8ee471beaa48"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a26a7f25ed15e2d89320a8ee471beaa48">&#9670;&nbsp;</a></span>filament_density()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Slic3r::Extruder::filament_density </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Retrieve the filament density for this <a class="el" href="class_slic3r_1_1_extruder.html">Extruder</a> from config. </p>

</div>
</div>
<a id="af7a3779e5c127d500249ca6421fbf30f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af7a3779e5c127d500249ca6421fbf30f">&#9670;&nbsp;</a></span>filament_diameter()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Slic3r::Extruder::filament_diameter </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Retrieve the filament diameter for this <a class="el" href="class_slic3r_1_1_extruder.html">Extruder</a> from config. </p>

</div>
</div>
<a id="a04ae8c433341107e9fec537912a95ee8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a04ae8c433341107e9fec537912a95ee8">&#9670;&nbsp;</a></span>reset()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::Extruder::reset </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="acdf410a6fa1663ca04f050201fde8428"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acdf410a6fa1663ca04f050201fde8428">&#9670;&nbsp;</a></span>retract()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Slic3r::Extruder::retract </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>length</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>restart_extra</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This method makes sure the extruder is retracted by the specified amount of filament and returns the amount of filament retracted. If the extruder is already retracted by the same or a greater amount, this method is a no-op. The restart_extra argument sets the extra length to be used for unretraction. If we're actually performing a retraction, any restart_extra value supplied will overwrite the previous one if any. </p>

</div>
</div>
<a id="ae4f81bb3b58a544ac21f66234924eb3f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae4f81bb3b58a544ac21f66234924eb3f">&#9670;&nbsp;</a></span>retract_length()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Slic3r::Extruder::retract_length </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a91b713dc70507f5504cce4c030fe7db8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a91b713dc70507f5504cce4c030fe7db8">&#9670;&nbsp;</a></span>retract_length_toolchange()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Slic3r::Extruder::retract_length_toolchange </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="add89fcede9b6093c69772a8a1c155340"></a>
<h2 class="memtitle"><span class="permalink"><a href="#add89fcede9b6093c69772a8a1c155340">&#9670;&nbsp;</a></span>retract_lift()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Slic3r::Extruder::retract_lift </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a4f3faf59a1601f9e90230255a50cf972"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f3faf59a1601f9e90230255a50cf972">&#9670;&nbsp;</a></span>retract_restart_extra()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Slic3r::Extruder::retract_restart_extra </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a0eb92082dd5da366e361fc00fea5ace5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0eb92082dd5da366e361fc00fea5ace5">&#9670;&nbsp;</a></span>retract_restart_extra_toolchange()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Slic3r::Extruder::retract_restart_extra_toolchange </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="abdc4a697823522eb05116d89b87051a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abdc4a697823522eb05116d89b87051a6">&#9670;&nbsp;</a></span>retract_speed()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Slic3r::Extruder::retract_speed </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a8c7f07b9b06dc2c327d4e30d810dee66"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8c7f07b9b06dc2c327d4e30d810dee66">&#9670;&nbsp;</a></span>unretract()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Slic3r::Extruder::unretract </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a0a6931ae6964f15b3847c046e416a2ed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0a6931ae6964f15b3847c046e416a2ed">&#9670;&nbsp;</a></span>used_filament()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Slic3r::Extruder::used_filament </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Calculate amount of filament used for current <a class="el" href="class_slic3r_1_1_extruder.html">Extruder</a> object. </p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a25a00a190060e03a43c18204d78087eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a25a00a190060e03a43c18204d78087eb">&#9670;&nbsp;</a></span>absolute_E</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Slic3r::Extruder::absolute_E</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a0f302f418f5ad59867744baf9495d77f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0f302f418f5ad59867744baf9495d77f">&#9670;&nbsp;</a></span>E</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Slic3r::Extruder::E</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a892c85d234a71899cf67a05631127ca0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a892c85d234a71899cf67a05631127ca0">&#9670;&nbsp;</a></span>e_per_mm3</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Slic3r::Extruder::e_per_mm3</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a3341e1a9d3d30505af68586d25e8b034"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3341e1a9d3d30505af68586d25e8b034">&#9670;&nbsp;</a></span>id</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int Slic3r::Extruder::id</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ID of current object. </p>

</div>
</div>
<a id="a9eb7665ead75965bf6f4d8bbec964568"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9eb7665ead75965bf6f4d8bbec964568">&#9670;&nbsp;</a></span>restart_extra</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Slic3r::Extruder::restart_extra</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a69e80f14f8fd6ffe69e29361ad5cab08"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a69e80f14f8fd6ffe69e29361ad5cab08">&#9670;&nbsp;</a></span>retract_speed_mm_min</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Slic3r::Extruder::retract_speed_mm_min</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aa2c6267ba6aac367d7c1919c87b6fd4b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa2c6267ba6aac367d7c1919c87b6fd4b">&#9670;&nbsp;</a></span>retracted</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Slic3r::Extruder::retracted</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/libslic3r/<a class="el" href="_extruder_8hpp_source.html">Extruder.hpp</a></li>
<li>src/libslic3r/<a class="el" href="_extruder_8cpp.html">Extruder.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
